﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using PPIProxy.PPIWebservice;

namespace PPIProxy
{
    public class WSettings
    {
        public static DataSet SelectKml(string connectionKey)
        {
            PPIProxy.PPIWebservice.PPIWebServiceClass serv = new PPIService();
            return serv.Settings_SelectKml(connectionKey);
        }

        public static void Update(int id, string value, string connectionKey)
        {
            PPIProxy.PPIWebservice.PPIWebServiceClass serv = new PPIService();
            serv.Settings_Update(id, value, connectionKey);
        }

        public static DataSet SelectByKey(string key, string connectionKey)
        {
            PPIProxy.PPIWebservice.PPIWebServiceClass serv = new PPIService();
            return serv.Settings_SelectByKey(key, connectionKey);
        }
    }
}
